package yuan.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import yuan.common.MyCounter;

@RestController
@RequestMapping("counter")
public class CounterCtrl {

    @RequestMapping("/test")
    public String counter(){
        return  MyCounter.test();
    }

    @RequestMapping("/test2")
    public String counter2(){
        return  MyCounter.test2();
    }

}
